package finassist.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * AJ Projects
 * User.java
 * Purpose: Login User Database.
 *
 * @author Karthick Natarajan
 * @version 1.0 9/10/13
 */

@Entity
@Table(name="public.fnas_entiti_types")
public class EntitiType{
	
//	private static final long serialVersionUID = -8767337896773261247L;

	private String name;
	private String id;

	@Id
	@GeneratedValue
	@Column(name="ENTITY_ID")
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	
	
	@Column(name="ENTITY_NAME")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}
